#! /usr/bin/python
#                   _ooOoo_                     
#                  o8888888o                    
#                  88" . "88                    
#                  (| -_- |)                    
#                  O\  =  /O                    
#               ____/`---'\____                 
#             .'  \\|     |//  `.               
#            /  \\|||  :  |||//  \              
#           /  _||||| -:- |||||-  \             
#           |   | \\\  -  /// |   |             
#           | \_|  \---/  |   |             
#           \  .-\__  `-`  ___/-. /             
#         ___`. .'  /--.--\  `. . __            
#      ."" '<  `.___\_<|>_/___.'  >'"".      
#     | | :  `- \`.;`\ _ /`;.`/ - ` : | |       
#     \  \ `-.   \_ __\ /__ _/   .-` /  /       
#======`-.____`-.___\_____/___.-`____.-'======  
#                   `=---='                     
#^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  
#         Buddha bless me for no bug            
#                                               
####################################################################################
#   Filename    :  StarRE.py                                                      
#   Author      :  Shawn Tan                                                        
#   Date        :  2017.2.23                                                        
#   Description :  this module contains all RE expression used in runsim                   
#   History     :  2017.2.23             creat the document            Shawn Tan    
####################################################################################
import re
include_re=re.compile(r'(?<=`include").*(?=")')
sessionname=re.compile('(?<=session\s)[0-9A-Za-z\_]*')
groupname=re.compile('(?<=group\s)[0-9A-Za-z\_]*')
testname=re.compile('(?<=test\s)[0-9A-Za-z\_]*')
testname_ex=re.compile('(?<=test\s)[0-9A-Za-z\_]*(?=\()')
extends_re=re.compile('(?<=\()[0-9A-Za-z\_\,\s]*(?=\))')
env_re=re.compile('(?<=\{)[0-9A-Za-z\_,\s]*(?=\})')
bid_re=re.compile('(?<=Job <)[0-9]*(?=>)')

